package pojo;

import java.util.List;

public class Host {
    private String          name;

    private String          appBase;

    private List<Context>   contexts;

    private boolean         unpackWARs = true;

    private boolean         autoDeploy = true;

    public Host(String name, String appBase, List<Context> contexts) {
        this.name = name;
        this.appBase = appBase;
        this.contexts = contexts;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAppBase() {
        return appBase;
    }

    public void setAppBase(String appBase) {
        this.appBase = appBase;
    }

    public List<Context> getContexts() {
        return contexts;
    }

    public void setContexts(List<Context> contexts) {
        this.contexts = contexts;
    }

    public boolean isUnpackWARs() {
        return unpackWARs;
    }

    public void setUnpackWARs(boolean unpackWARs) {
        this.unpackWARs = unpackWARs;
    }

    public boolean isAutoDeploy() {
        return autoDeploy;
    }

    public void setAutoDeploy(boolean autoDeploy) {
        this.autoDeploy = autoDeploy;
    }
}
